Command Group
Extension to Command
to spawn in a process group.
- API documentation.
- Dual-licensed with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.68.0.
- Only the last five stable versions are supported.
- MSRV increases within that range at publish time will not incur major version bumps.
Quick start
[]
= "5.0.1"
use Command;
use CommandGroup;
let mut child = new.arg.group_spawn?;
let status = child.wait?;
dbg!;
Async: Tokio
[]
= { = "5.0.1", = ["with-tokio"] }
= { = "1.10.0", = ["full"] }
use Command;
use AsyncCommandGroup;
let mut child = new.arg.group_spawn?;
let status = child.wait.await?;
dbg!;
Also see the Examples!